package virtualstock.util;

import java.math.BigDecimal;
import java.util.Date;

public class TransactionDetails implements java.io.Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private Long transactionID;
	private String portfolioID;
	private String type;
	private String stockID;
	private int share;
	private BigDecimal currentPrice;
	private Date timestamp;
	
	public TransactionDetails(Long transactionID,
			String type, String stockID, int share, BigDecimal currentPrice,
			Date timestamp) {
		super();
		this.transactionID = transactionID;
		this.type = type;
		this.stockID = stockID;
		this.share = share;
		this.currentPrice = currentPrice;
		this.timestamp = timestamp;
	}

	public Long getTransactionID() {
		return transactionID;
	}

	public String getPortfolioID() {
		return portfolioID;
	}

	public String getType() {
		return type;
	}

	public String getStockID() {
		return stockID;
	}

	public int getShare() {
		return share;
	}

	public BigDecimal getCurrentPrice() {
		return currentPrice;
	}

	public Date getTimestamp() {
		return timestamp;
	}
	
}
